/**      
 * @file		nestedIf.cpp
 * @description		This file utilized if else statements and 
 *			shows how NOT to write them. Isn't this file
 *			confusing?
 * @course		CSCI 123 Section 00000
 * @assignment		Sample 7
 * @date		mm/dd/yyyy
 * @author		Brad Rippe (00000000) brippe@fullcoll.edu
 * @version		1.0
 */
#include <iostream>
using namespace std;

/**
 * @return zero if the application executes successfully
 */
int main() {
	int studentGrade = 0;
	cout << "Please type the student's grade\n";
	cin >> studentGrade;

	if(studentGrade >= 90) {
		cout << "A\n";
	} else {
		if(studentGrade >= 80) {
			cout << "B\n";
		} else {
			if(studentGrade >= 70) {
				cout << "C\n";			
			} else {
				if(studentGrade >= 60) {
					cout << "D\n";			
				} else {
					cout << "F\n";
				}
			}
		}
	}
	return 0;
}
